﻿<Serializable()> _
Public Class EcomoSeEntero

#Region "           Atributos                       "
    Private _idComoSeEntero As Int32
    Private _descComoseEntero As String
    Private _estado As String
    Private _descEstado As String
    Private _idUsuario As Int32

    '******* RptGerenciales xComoSeEntero  *******'
    Private _cantidad As Int32
    Private _porcentaje As Decimal
#End Region

#Region "           Propiedades                     "
    Public Property idComoSeEntero() As Int32
        Get
            Return _idComoSeEntero
        End Get
        Set(ByVal value As Int32)
            _idComoSeEntero = value
        End Set
    End Property
    Public Property descComoseEntero() As String
        Get
            Return _descComoseEntero
        End Get
        Set(ByVal value As String)
            _descComoseEntero = value
        End Set
    End Property
    Public Property estado() As String
        Get
            Return _estado
        End Get
        Set(ByVal value As String)
            _estado = value
        End Set
    End Property
    Public Property descEstado() As String
        Get
            Return _descEstado
        End Get
        Set(ByVal value As String)
            _descEstado = value
        End Set
    End Property
    Public Property idUsuario() As Int32
        Get
            Return _idUsuario
        End Get
        Set(ByVal value As Int32)
            _idUsuario = value
        End Set
    End Property

    '******* RptGerenciales xComoSeEntero  *******'
    Public Property cantidad() As Int32
        Get
            Return _cantidad
        End Get
        Set(ByVal value As Int32)
            _cantidad = value
        End Set
    End Property
    Public Property porcentaje() As Decimal
        Get
            Return _porcentaje
        End Get
        Set(ByVal value As Decimal)
            _porcentaje = value
        End Set
    End Property
#End Region

#Region "           Propiedades Avanzadas           "

#End Region

#Region "           Contructores                    "
    Public Sub New()

    End Sub
    Public Sub New(ByVal idComoSeEntero As Int32, ByVal descComoseEntero As String)
        Me.idComoSeEntero = idComoSeEntero
        Me.descComoseEntero = descComoseEntero
    End Sub
    Public Sub New(ByVal idComoSeEntero As Int32, ByVal descComoseEntero As String, ByVal estado As String)
        Me.idComoSeEntero = idComoSeEntero
        Me.descComoseEntero = descComoseEntero
        Me.estado = estado
        Me.descEstado = IIf(estado = 1, "HABILITADO", "DESHABILITADO")
    End Sub

    '******* RptGerenciales xComoSeEntero  *******'
    Public Sub New(ByVal idComoSeEntero As Int32, ByVal descComoseEntero As String, ByVal cantidad As Int32, ByVal porcentaje As Decimal)
        Me.idComoSeEntero = idComoSeEntero
        Me.descComoseEntero = descComoseEntero
        Me.cantidad = cantidad
        Me.porcentaje = porcentaje
    End Sub
#End Region

End Class
